package com.cdd.goods.controller.api;

import com.cdd.goods.service.IGoodsShopService;
import com.common.entity.Order;
import com.common.entity.OrderShop;
import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/goods/goodsShop")
public class ApiGoodsShopController {
    @Autowired
    private IGoodsShopService iGoodsShopService;

    @PostMapping("editGoodsState01")
    public Integer editGoodsState(@RequestParam Integer sid){
       return iGoodsShopService.editGoodsState(sid);
    }
    @PostMapping("editGoodsState02")
    public Integer editGoodsState02(@RequestParam Integer sid){
        return iGoodsShopService.editGoodsState02(sid);
    }



}
